package com.nami.store.api.response.conversation;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 描述：
 *
 * @Author: lbc
 * @Date: 2023-08-01 15:44
 * @email: 594599620@qq.com
 * @Description: keep coding
 */
@Data
public class ConversationDTO implements Serializable {

    private static final long serialVersionUID = -898871705050453770L;

    /**
     * id
     */
    private Long id;

    /**
     * 应用
     */
    private String appKey;

    /**
     * 发送者
     */
    private String userId;

    /**
     * 接收者
     */
    private String targetId;

    /**
     * 是否免打扰
     */
    private Boolean ifMute;

    /**
     * 是否置顶
     */
    private Boolean ifTop;

    private Integer converType;

    private String latestMsgId;
    private String latestMsg;
    private Integer latestUnreadMsgIndex;
    private Integer latestReadMsgIndex;
    private String latestReadMsgId;
    private Long latestReadMsgTime;
    private Long sortTime;
    private Long syncTime;

    private Long topUpdatedTime;

    /**
     * 创建时间
     */
    private Date createTime;

}
